package org.ws.edu.task2;

import org.ws.edu.task2.exceptions.ExtensionLengthException;
import org.ws.edu.task2.exceptions.IncorrectPathException;
import org.ws.edu.task2.exceptions.IncorrectSymbolsException;
import org.ws.edu.task2.exceptions.NameLengthException;

public interface ICommand {

    public void execute(VirtualFileSystem vfs) throws IncorrectPathException, ExtensionLengthException, NameLengthException,
            IncorrectSymbolsException;

    public void validPath(VirtualFileSystem vfs) throws ExtensionLengthException, NameLengthException, IncorrectSymbolsException,
            IncorrectPathException;
}
